package com.yash.rms.domain;

import java.util.Set;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import org.springframework.roo.addon.dbre.RooDbManaged;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.json.RooJson;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaActiveRecord(versionField = "", table = "engagementmodel")
@RooDbManaged(automaticallyDelete = true)
@RooJson
public class Engagementmodel {

    @OneToMany(mappedBy = "engagementModelId", fetch = FetchType.LAZY)
    private Set<Project> projects;

    public Set<com.yash.rms.domain.Project> getProjects() {
        return projects;
    }

    public void setProjects(Set<com.yash.rms.domain.Project> projects) {
        this.projects = projects;
    }
}
